﻿using System.ComponentModel;

namespace Titan.FIS.LMS.Common
{
    public class Common
    {
        /// <summary>
        /// 当前登录用户信息
        /// </summary>
        public static WinFormSys.Entity.UserInfoEntity UserInfo { set; get; }

        /// <summary>
        /// 信息显示控件，用于Led和Voice 显示
        /// </summary>
        public static System.Windows.Forms.RichTextBox MsgBox { set; get; }

    }

    /// <summary>
    /// 自定义储存数据类
    /// </summary>
    public class ListItem
    {
        public ListItem(string sname, string svalue1, string svalue2)
        {
            Name = sname;
            Value1 = svalue1;
            Value2 = svalue2;
        }
        public override string ToString()
        {
            return Name;
        }
        public string Value1 { get; set; }

        public string Value2 { get; set; }

        public string Name { get; set; }
    }
}
